package com.zc.controller.wj;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("wj")
public class WjController {

        @RequestMapping("hello")
        @ResponseBody
        public String hello(@RequestParam("username")String username,@RequestParam("pass") String pass){
            System.out.println(username+"------------"+pass);
            return "hello";
        }
}
